<?php

/**
 * Random functions
 * @author Greg Smith <greg@gregdev.net>
 *
 */
class Functions {
	
	/**
	 * Returns the value of the specified property.
	 * @param string $config_propery
	 * @return $config_property
	 */
	public static function getConfigValue($config_propery) {
		return $GLOBALS[$config[$config_property]];
	}
	
	/**
	 * Generates a fatal error message and exits.
	 * @param string $error_msg
	 */
	public static function fatalError($error_msg) {
		exit($error_msg);
	}
	
}

?>